package com.kingoe.shardingdj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author jinwu
 */
@Data
@TableName("tb_commodity_info")
public class TbCommodityInfo implements Serializable {
    /**
     *自动生成32位的UUID
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String commodityName;

    private String commodityPrice;

    private String description;

    private Integer number;
}
